//
// Created by Arosy on 2021/12/11.
//

#ifndef JVM_JAVAVFRAME_H
#define JVM_JAVAVFRAME_H
#include "stack"
#include "map"
#include "CommonValue.h"

class JavaVFrame
{
public:
  std::stack<CommonValue *> stack;     // 方法的栈空间
  std::map<int, CommonValue *> locals; // 方法的局部变量表
  CommonValue *pop();
  // todo:释放内存
};

#endif // JVM_JAVAVFRAME_H
